ComparerZeroHashCodeEqualityComparer<T>
Note: this will give a new EqualityComparer each time created!
Type parameters: | |
T |
System.Collections.Generic.IEqualityComparer<T>
object
ComparerZeroHashCodeEqualityComparer<T>(System.Collections.Generic.IComparer<T> comparer)
Equals(T item1, T item2)
,Equals(object obj)
, Inherited from object
,Finalize()
, Inherited from object
,GetHashCode(T item)
,GetHashCode()
, Inherited from object
,GetType()
, Inherited from object
,MemberwiseClone()
, Inherited from object
,ToString()
, Inherited from object
ComparerZeroHashCodeEqualityComparer<T>(System.Collections.Generic.IComparer<T> comparer) |
Create a trivial compatible with the
comparer
|
F bool Equals(T item1, T item2) |
Equality of two items as defined by the comparer.
| |||||||
F int GetHashCode(T item) |
A trivial, inefficient hash fuction. Compatible with any equality relation.
|